projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6ea91d
)
x86/boot: add memory to clobber list in reloc_mbi_struct()
author
Daniel Kiper
<daniel.kiper@oracle.com>
Thu, 23 Oct 2014 08:22:52 +0000
(10:22 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Thu, 23 Oct 2014 08:22:52 +0000
(10:22 +0200)
Assembly inline in reloc_mbi_struct() clobbers
memory so tell compiler about that.
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/boot/reloc.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/boot/reloc.c
b/xen/arch/x86/boot/reloc.c
index 4609e55625c1cf6ab10c58c0c22c51422ac1425b..f9719205a4942c1a845f816550cbcf823e1915fa 100644
(file)
--- a/
xen/arch/x86/boot/reloc.c
+++ b/
xen/arch/x86/boot/reloc.c
@@
-46,7
+46,7
@@
static void *reloc_mbi_struct(void *old, unsigned int bytes)
" mov %0,%%edi \n"
" rep movsb \n"
: "=&r" (new), "+c" (bytes), "+S" (old)
- : : "edx", "edi");
+ : : "edx", "edi"
, "memory"
);
return new;
}